<div class="listing_button">
	<?=form_input(array('type' => 'text', 'name' => 'term', 'id' => 'search_box', 'placeholder' => 'item name'))?>
	<?=anchor('inventory/add_edit_item', 'New Item', 'id="new_item_button"')?>
</div>

<div id="inventory_table">
	<div class="inv_pagination"></div>
	<div id="inv_div"></div>
	<?//$this->load->view('admin/includes/_inventory_tbl');?>
</div>

<div id="listing_bottom">
	<?=anchor('#', '<img src="html/img/refresh_48.png" height="22px" width="22px"', 'id="refresh_items"');?>
</div>
<div id="new_item_modal"></div>
<div id="edit_item_modal"></div>
<div id="inv_modal"></div>

<script>
var inv_num_entries = <?=$items->num_rows()?>;
var inv_num_edge_entries = <?=$this->item_model->num_edge_entries?>;
var inv_items_per_page = <?=$this->item_model->items_per_page?>;
$(function(){
	inv_pagination_init();
});
</script>
<script src="html/js/page_inv.js" type="text/javascript"></script>